Method and system for providing elastic media forking infrastructure to cloud distributed real-time applications

ABSTRACT

A computerized-method for providing an elastic media forking infrastructure to cloud distributed real-time applications, is provided herein. In a network having a direct media streaming between a first media-client and a source device, in a direct media streaming mode, upon receiving a request from a second media-client, via a signaling protocol, to receive media from the source device, switching from the direct media streaming mode to a media forking mode by starting a media forking service on a media forking infrastructure. Upon receiving a request from the second media-client to terminate media reception from the source device, switching from media forking mode to direct streaming mode, by ending the media forking service, and operating the direct media streaming between the first media-client and the source device.

RELATED APPLICATIONS

This application claims priority as a continuation from application Ser.No. 17/727,853 dated Apr. 25, 2022, which is a continuation fromapplication Ser. No. 17/381,206 dated Jul. 21, 2021 which is acontinuation from application Ser. No. 17/167,119 dated Feb. 4, 2021,the disclosure of which is incorporated herein by reference.

FIELD OF THE INVENTION

The present invention relates to media streaming, and more specificallyto a method and system for cost effective and elastic media forkinginfrastructure, for cloud distributed real-time systems having multipleapplications.

BACKGROUND OF THE INVENTION

Cloud-based contact center systems are communicating with on-premiseenvironment to receive service from multiple real-time applications, viaan Internet Protocol (IP) network. These applications are consumingmedia streams, such as audio and video, in real-time, from sourceInternet Protocol (IP) devices, such as Private Branch Exchange (PBX)device, Session Border controller (SBC) device and the like, which areassociated to the contact center on-premise systems. The media streams,from the source IP devices, are delivered over IP networks to thecloud-based applications, by a network protocol, such as Real-timeTransport Protocol (RTP).

Real-time sessions between the cloud-based applications and the sourceIP devices are initiated, maintained, modified and terminated by asignaling protocol, such as Session Initiation Protocol (SIP). Thesessions are managed for media streaming by RTP between the source IPdevices and cloud distributed real-time applications. For example, thecloud distributed real-time applications may provide recording services,monitoring services, Workforce Engagement and Optimization (WEM)services and Real-Time (RT) interaction analytics services and otherservices.

In order for a cloud -based system, such as the cloud-based contactcenter system to be able to provide in real-time and simultaneouslyseveral services, from the multiple cloud distributed real-timeapplications for the on-premise interactions, there is a need to streamthe media from each one of the IP devices, which are associated to theon-premise domain to the one or more applications in the cloud domain.

In other words, each source IP device that is streaming media, forexample when conducting an interaction between an agent and a customer,may need to stream media to a couple of cloud distributed real-timeapplications. For example, a media stream, such as the content of aninteraction between an agent and a customer in a contact center, via anIP device may be recorded in real-time by a recording application in thecloud computing environment, where at the beginning of the interactionthere may be also a need to authenticate the customer by anauthentication application that is also in the cloud computingenvironment. The authentication application should receive the mediastream from the IP device at the same time with the recordingapplication. For that purpose, there is a need to fork the media streamfrom the source IP device, that is associated to the contact centersystems, to the cloud distributed real-time applications, which are inthe cloud computing environment.

Currently, there are source IP devices, which are capable of forking themedia stream to a number of media streams, however they are limited inthe number of streams that they may fork. Moreover, these source IPdevices might be expensive and thus may impose high costs on the contactcenter. Furthermore, media forking is usually license based; and lastly,the media forking itself incurs high network bandwidth cost andtherefore to reduce network costs the media forking would rather beforked as far as possible from the source IP devices and as close aspossible to the cloud distributed real-time applications.

These deficiencies may be solved by existing architecture forimplementing a media forking infrastructure, such as a standardSelective Forwarding Unit (SFU), which is capable of receiving multiplemedia streams and then decide which of these media streams should besent to which participants. However, the existing architecture may notbe scalable, as will be explained in detail in FIG. 1 below, and also inpractice, many media streaming include only a single media client, e.g.,recorder, RT analytics, authentication application and the like, formost of the interaction duration, which makes the media forkingnecessary, only during part of the interaction and redundant during theother part. In other words, when using existing architecture, a mediaforking infrastructure may be activated even though the media stream isnot forked and the media forking services are not provided, thusaffecting the quality of the media stream and wasting computing andnetwork bandwidth resources.

Accordingly, there is a need for a technical solution that will providean elastic media forking infrastructure to cloud distributed real-timeapplications and a dynamic control of media stream routing with respectto the number of media clients and support of additional clients,without impacting the already existing media streams quality.

There is further a need for a media forking infrastructure solution,that will allow dynamically change of the media routing mode, fromdirect media streaming to media forking and vice versa, thus protectingthe quality of the media stream and saving media forking infrastructureresources by providing an elastic media forking infrastructure, i.e.,activating and deactivating, the media forking infrastructure.

SUMMARY OF THE INVENTION

There is thus provided, in accordance with some embodiments of thepresent invention, a computerized-method for providing an elastic mediaforking infrastructure to cloud distributed real-time applications.

Furthermore, in accordance with some embodiments of the presentinvention, in an Internet Protocol (IP) network that is having a directmedia streaming between a first media client and a source IP device, ina direct media streaming mode, upon receiving a request from a secondmedia client, via a signaling protocol, to receive media from the sourceIP device, the computerized-method may switch from the direct mediastreaming mode to a media forking mode by starting a media forkingservice on a media forking infrastructure.

Furthermore, in accordance with some embodiments of the presentinvention, upon receiving a request from the second media client toterminate media reception from the source IP device, thecomputerized-method may switch from media forking mode to directstreaming mode, by ending the media forking service, and operating thedirect media streaming between the first media client and the source IPdevice, thus, providing an elastic media forking infrastructure andsaving media forking infrastructure resources.

Furthermore, in accordance with some embodiments of the presentinvention, the media forking service is forking media received from thesource IP device and transmitting the received media to the first mediaclient and to the second media client.

Furthermore, in accordance with some embodiments of the presentinvention, the direct media streaming may include having the first mediaclient directly receiving media from the source IP device.

Furthermore, in accordance with some embodiments of the presentinvention, the request from the second media client to receive mediafrom the source IP device may be a join message of the signalingprotocol.

Furthermore, in accordance with some embodiments of the presentinvention, the media forking infrastructure is available to providemedia forking service when switching from the direct media streamingmode to a media forking mode.

Furthermore, in accordance with some embodiments of the presentinvention, the media forking infrastructure may have a capacity toprovide media forking service to a predetermined quantity of source IPdevices and when the media forking infrastructure may operate in fullcapacity and an additional switching from a direct media streaming modeto a media forking mode may be required by an additional source IPdevice, an additional media forking infrastructure may be activated andadded to the IP network and a new media forking service node may bestarted on the additional media forking infrastructure.

Furthermore, in accordance with some embodiments of the presentinvention, upon receiving a request from a second media client toterminate media reception from the additional source IP device, thecomputerized-method may be (i) ending the new media forking service;(ii) operating a direct media streaming between a first media client andthe additional source IP device; and (iii) deactivating the additionalmedia forking infrastructure when no media forking service is providedby it.

Furthermore, in accordance with some embodiments of the presentinvention, when there is a media forking service running on the mediaforking infrastructure, upon a new requirement to switch from a directmedia streaming mode to a media forking mode, the computerized-methodmay be checking if the media forking infrastructure is available tostart an additional media forking service.

Furthermore, in accordance with some embodiments of the presentinvention, switching between the media forking mode to the directstreaming mode and vice versa may result in a media loss which does notdeteriorate media quality.

Furthermore, in accordance with some embodiments of the presentinvention, the source IP device may be associated to an on-premisesystem of a cloud-based contact center, and the first media client andthe second media client may be cloud distributed real-time applications.

BRIEF DESCRIPTION OF THE DRAWINGS

In order for the present invention, to be better understood and for itspractical applications to be appreciated, the following Figures areprovided and referenced hereafter. It should be noted that the Figuresare given as examples only and in no way limit the scope of theinvention. Like components are denoted by like reference numerals.

FIG. 1 is a block diagram of an example of existing architecture formedia stream forking of a single media stream from source IP devices tocloud based applications;

FIG. 2 is a block diagram illustrating for providing an elastic mediaforking infrastructure to cloud distributed real-time applications, inaccordance with some embodiments of the present invention; and

FIG. 3 is a flowchart illustrating a computerized-method for providingan elastic media forking infrastructure to cloud distributed real-timeapplications, in accordance with some embodiments of the presentinvention.

DETAILED DESCRIPTION OF THE INVENTION

In the following detailed description, numerous specific details are setforth in order to provide a thorough understanding of the invention.However, it will be understood by those of ordinary skill in the artthat the invention may be practiced without these specific details. Inother instances, well-known methods, procedures, components, modules,units and/or circuits have not been described in detail so as not toobscure the invention.

Although embodiments of the invention are not limited in this regard,discussions utilizing terms such as, for example, “processing,”“computing,” “calculating,” “determining,” “establishing”, “analyzing”,“checking”, or the like, may refer to operation(s) and/or process(es) ofa computer, a computing platform, a computing system, or otherelectronic computing device, that manipulates and/or transforms datarepresented as physical (e.g., electronic) quantities within thecomputer's registers and/or memories into other data similarlyrepresented as physical quantities within the computer's registersand/or memories or other information non-transitory storage medium(e.g., a memory) that may store instructions to perform operationsand/or processes. Although embodiments of the invention are not limitedin this regard, the terms “plurality” and “a plurality” as used hereinmay include, for example, “multiple” or “two or more”. The terms“plurality” or “a plurality” may be used throughout the specification todescribe two or more components, devices, elements, units, parameters,or the like. Unless explicitly stated, the method embodiments describedherein are not constrained to a particular order or sequence.Additionally, some of the described method embodiments or elementsthereof can occur or be performed simultaneously, at the same point intime, or concurrently. Unless otherwise indicated, use of theconjunction “or” as used herein is to be understood as inclusive (any orall of the stated options).

Existing architecture that implements media forking infrastructure, ishaving one or more units, such as a standard Selective Forwarding Unit(SFU). Each unit may provide a media forking service to a limited numberof source IP devices. The implementation may use any process scheduler,such as round-robin algorithm, but for the simplicity of the explanationof existing architecture deficiencies, this concept is not included.

Each source IP device may forward a single media stream to two or moremedia clients in a cloud computing environment by using a media forkingservice provided by the media forking infrastructure. However, duringmedia streaming between a source IP device and multiple media clients,not all the media clients consume the media stream and most of the timeonly one media client requires the media stream. It means that a portionof media forking infrastructure resources, may be redundant and a directmedia streaming may be implemented

Accordingly, the embodiments taught herein, in contrast to existingarchitecture, protect the media stream quality and improve the savingsof media forking infrastructure resources, e.g., computing resources, ina cloud computing environment. The improvement may be achieved by endingmedia forking service after the media client terminates the reception ofmedia streaming and deactivating the media forking infrastructure whenit does not provide any media forking services to any active source IPdevice. In other words, the embodiments taught herein in contrast toexisting architecture may be switching from media forking mode to directmedia mode.

Thus, after all media forking services of a media forking infrastructureare ended, the embodiments taught herein may deactivate the mediaforking infrastructure, and thus saving computing sources of the cloudcomputing environment. Moreover, the switching from media forking modeto direct media streaming mode may save network bandwidth and protectthe media stream quality that is affected by the media forking service.

FIG. 1 is a block diagram of an example of existing architecture formedia stream forking of a single media stream from source IP devices tocloud-based applications.

In an on-premise system of a contact center, source Internet Protocol(IP) devices, such as source IP devices 110A-110D, may stream media toone or more real-time applications, such as Real-Time (RT) analytics150, RT monitoring 155, recorder 160 RT authentication 165 and otherapplications 170, in a cloud computing environment 180.

Upon a computer Telephony Integration (CTI) event from a server such asa Telephony-server (T-Server) an application, e.g., a media client, mayrequire a media stream from one of the source IP devices 110A-110D, andthe media stream may be provided by a direct media stream. However, whenmore than one media client may receive a notification to consume themedia stream from a source IP device, a media forking infrastructure,such as media forking infrastructure 120A-120D, may be implemented.

For example, to accommodate a business requirement of a contact centerto record by a recording application in a cloud environment, eachinteraction between an agent and a customer, that is operated by asource IP device, and to analyze, in real-time, a portion of theinteraction for business section customers, the following architecturemay be implemented. A media forking infrastructure, such as mediaforking infrastructure 120A-120D, which can provide up to apredetermined media forking services, e.g., two media forking servicesfor two active source IP devices, such as source IP devices 110A, eachsource IP device may stream a single media stream per interaction 115Aor 115B to media forking infrastructure 120A. The media forkinginfrastructure 120A, may fork the single media stream to an RT analyticsapplication 150 and to a recorder application 160 in the cloud computingenvironment 180, during the entire interaction, i.e. media streaming.

When a third source IP device begins an interaction, i.e., a thirdsource IP device is active, and for example requires recording servicesfrom recorder 160 and RT monitoring from RT monitoring 155, mediaforking infrastructure 120A cannot provide a media forking service,because it is in full capacity, providing media forking services toactive source IP devices 110A. Accordingly, a second media forkinginfrastructure 120B may be activated in the cloud environment to fork asingle media stream 115C to media streams 135 and 130B.

At this point, when media forking infrastructure 120B has been activatedfor the third active source IP device, only recorder 160 may consume themedia stream from source IP devices 110A. Thus, making the activation ofmedia forking infrastructure 120B a waste of computing resources andnetwork bandwidth which may also deteriorate the quality of the mediastream received by the media clients in the cloud-based environment. Inthis example, a media forking infrastructure may provide media forkingservices to up to two source IP devices, e.g., source IP devices 110B,which may stream a single media stream 115 c or 115D to media forkinginfrastructure 120B.

When a fifth source IP device starts an interaction, i.e., a fifthsource IP device is active, while the four other interactions haven'tended yet, i.e., the four IP source devices are still active andstreaming media and the fifth active source IP device may require,according to business logics, recording services by a recorderapplication 160 and an authentication of the customer at the beginningof the interactions by an RT authentication application 165, a thirdmedia forking infrastructure, such as media forking infrastructure 120Cmay be activated.

However, while media forking infrastructure 120C is activated, two ormore of source IP devices 110A-110B may be required to transmit themedia stream only to recorder application 160, i.e. only a single mediastream is needed. Thus, again computing resources and network bandwidthmay be wasted, which may also deteriorate the quality of the mediastream received by the media clients in the cloud-based environmentbecause the media streaming between source IP devices 110A-110B isoperated via a media forking infrastructure 120A-120B instead of indirect media mode, e.g., not via the media forking infrastructure120A-120B. Therefore, the fifth active source IP device could have beenprovided a media forking service by one of media forking infrastructures120A-120B, instead of activating media forking infrastructure 120C.

When an interaction between an agent and a customer begins via a seventhsource IP device e.g., with a VIP customer, and business logics requiresthat VIP customers are recorded by recorder 160 and also handled byother applications 170, a single media stream 115G or 115H, should beforked by a media forking infrastructure. But when all six interactionsi.e. media streams are still going and media forking infrastructures120A-120C are still activated, even though forking of the media streamis no longer required, media forking infrastructure 120D may beactivated.

However, the activation of media forking infrastructure 120D may a wasteof computing resources and network bandwidth which could have been savedif media streams that don't require media forking would be streamed in adirect media streaming mode and not via a media forking infrastructure.Moreover, in direct media streaming the quality of media stream thatarrives at the media client wouldn't be deteriorated as it might when itis forked by media forking infrastructure.

Therefore, there is a need for a computerized-method and computerizedsystem for providing an elastic media forking infrastructure to clouddistributed real-time applications.

FIG. 2 is a block diagram illustrating a system 200 for providing anelastic media forking infrastructure to cloud distributed real-timeapplications, in accordance with some embodiments of the presentinvention.

According to some embodiments of the present disclosure, system 200 mayinclude one or more source IP devices, such as source IP devices210A-210D, associated to on-premise domain 205. Upon a computerTelephony Integration (CTI) event from a server, such as aTelephony-server (T-Server), media clients, such as cloud distributedreal-time applications in a cloud domain, such as cloud domain 215, mayreceive a notification to consume data streams from source IP devices inthe premise domain 205, via Internet Protocol (IP) network in the publicdomain 230.

According to some embodiments of the present disclosure, the mediastream from source IP device, such as source IP devices 210A-210D, maynot be limited to media stream of an interaction between a customer andan agent in a contact center that is streamed to applications in thecloud domain. The source IP device, such as source IP devices 210A-210D,in on-premise domain 205, may stream media to any one or moreapplications in a cloud domain, via public domain 230.

According to some embodiments of the present disclosure, the clouddistributed real-time applications in a cloud domain, such as clouddomain 215 may be for example, Real-Time (RT) analytics, which mayanalyze in real-time the content of an interaction between a customerand an agent, that is conducted by a source IP device such as source IPdevices 210A-210D, in an on-premise domain 205. In another example, theapplication may be RT monitoring, such as RT monitoring application 255,which may monitor interactions in a contact center, for qualitypurposes.

In yet another example, an interaction between an agent and a customerthat is conducted via a source IP device, such as source IP device 210Ain an on-premise domain 205 may be recorded by a recorder application260. The customer may be authenticated via an RT authenticationapplication, such as RT authentication 270, at the beginning of theinteraction. Other applications may be also required to be operatedaccording to business logics at the beginning, during or at the end ofan interaction that is conducted via a source IP device that isassociated to the on-premise domain.

According to some embodiments of the present disclosure, upon a CTIevent a media client, such as media client 250-270 may join a sessionwith the MFI by a signaling protocol, such as Session InitiationProtocol (SIP) to receive a media stream from a source IP device, suchas source IP device 210A, via a Media Forking Infrastructure (MFI)module, such as the MFI module 240. Accordingly, the source IP devicemay initiate a SIP session with the MFI module 240. Meaning, the MFImodule 240 is a back-to-back SIP server which maintains a SIP sessionwith the source IP devices and with the media clients for the mediastreaming which is operated by an RTP.

Accordingly, when the media client is the only application that isconsuming media from the source IP device, then the MFI module, such asMFI module 240, may decide that a direct media streaming by RTP shouldbe obtained in a direct media streaming mode between the source IPdevice and the media client. The direct media stream by RTP may not beoperated via the MFI module 240.

According to some embodiments of the present disclosure, MFI module,such as MFI module 240, may implement a computerized method, such ascomputerized-method 300 in FIG. 3 for providing an elastic media forkinginfrastructure to cloud distributed real-time applications.

According to some embodiments of the present disclosure, after a sessionhas been initiated between a source IP device, such as source IP device210A and the MFI module 240 to stream media to a media client in thecloud domain, such as cloud domain 215, another application in the clouddomain, may receive a notification to consume the media stream from theIP source device 210A, in addition to the recorder application 260, fromMFI module 240.

According to some embodiments of the present disclosure, when a requestto receive the media stream from a source IP device, such as source IPdevice 210A, that is already streaming media to a media client, the MFImodule 240 may check if an enhanced MFI, such as enhanced MFI 220A,should be activated to provide media forking service.

According to some embodiments of the present disclosure, enhanced MFI,such as enhanced MFI 220A, may be activated to fork a media stream, suchas media stream 225A, from source IP device 210A to media clients, suchas RT monitoring 255 by media stream 235A and to recorder 260, via mediastream 235B.

According to some embodiments of the present disclosure, an enhancedMFI, such as enhanced MFI 220A, may be available to provide mediaforking service when media stream from source IP device 210A isswitching from the direct media streaming mode to a media forking mode.

According to some embodiments of the present disclosure, when a thirdmedia client, such as RT authentication 270, may request from MFI module240 to consume the media stream from a source IP device, such as sourceIP device 210A, the MFI module 240 may fork media stream 225A receivedfrom source IP device 210A to RT monitoring 255, recorder 260 and RTauthentication 270, via media streams 235A-235C.

According to some embodiments of the present disclosure, the requestfrom the media clients to receive media from the source IP device may bea join message of the signaling protocol.

According to some embodiments of the present disclosure, each mediaforking infrastructure node, such as enhanced MFI 220A-220C, may have acapacity to provide media forking service to a predetermined quantity ofsource IP devices and when the media forking infrastructure may beoperating in full capacity and an additional switching from a directmedia streaming mode to a media forking mode may be required by anadditional source IP device, an additional enhanced MFI, such enhancedMFI 220B may be activated and added to the IP network and a new mediaforking service may be started on the additional enhanced MFI.

According to some embodiments of the present disclosure, for example,when MFI module 240 may be required to stream media from source IPdevice 210B to more than one media client, MFI module 240 may check ifenhanced MFI 220A is available to provide media forking service.

According to some embodiments of the present disclosure, upon receivinga request from a media client by the MFI module, such as MFI module 240to terminate media reception from the additional source IP device, theMFI module, such as MFI module 240 and such as computerized method 300in FIG. 3 , may be (i) ending the new media forking service; (ii)operating a direct media streaming between a first media client and theadditional source IP device; and (iii) deactivating the additional mediaforking infrastructure when no media forking service is provided by it.

According to some embodiments of the present disclosure, when there is amedia forking service running on the media forking infrastructure, suchas enhanced MFI 220A, upon a new requirement to switch from a directmedia streaming mode to a media forking mode, the MFI module 240 may bechecking if the media forking infrastructure is available to start anadditional media forking service.

According to some embodiments of the present disclosure, the switchingbetween the media forking mode to the direct streaming mode and viceversa, may result in a media loss which does not deteriorate mediaquality approximate time gap of 40 milliseconds.

According to some embodiments of the present disclosure, source IPdevice, such as source IP device 210C and source IP device 210D may bestreaming media in a direct mode over a single media stream 225C and225D respectively.

According to some embodiments of the present disclosure, the directmedia mode may be before the switch to forking media mode or after. Itmay be operated when the MFI module 240 has detected that there is noneed in media forking service.

According to some embodiments of the present disclosure, the MFI module240 may be utilizing a database (not shown) to track media streaming foreach source IP device that is streaming media to one or moreapplications in the cloud domain.

FIG. 3 is a flowchart illustrating a computerized-method 300 forproviding an elastic media forking infrastructure to cloud distributedreal-time applications, in accordance with some embodiments of thepresent invention.

According to some embodiments of the present disclosure, in an InternetProtocol (IP) network that is having a direct media streaming between afirst media client, such as recorder 260 in FIG. 2 or RT authentication270 in FIG. 2 and a source IP device, such as source IP device 210C inFIG. 2 or such as source IP device 210D in FIG. 2 , in a direct mediastreaming mode, such as via single media streaming 225C or 225Drespectively, operation 310 may comprise, upon receiving a request froma second media client, via a signaling protocol, to receive media fromthe source IP device, switching from the direct media streaming mode toa media forking mode by starting a media forking service on a mediaforking infrastructure.

According to some embodiments of the present disclosure, thecomputerized-method 300 such as, MFI module 240 in FIG. 2 , may switchfrom the direct streaming mode to a media forking mode by checking ifthere is an enhanced MFI, such as enhanced MFI 220A available to providemedia forking service. When the enhanced MFI, such as enhanced MFI 220Ais not in full capacity, then computerized-method 300 for providing anelastic media forking infrastructure to cloud distributed real-timeapplications, such as MFI module 240 in FIG. 2 , may fork the mediastream, such as media stream 225A in FIG. 2 from source IP device, suchas source IP device 210A to two media clients, such as recorder 260 inFIG. 2 and RT monitoring 255 in FIG. 2 .

According to some embodiments of the present disclosure, operation 320may comprise, upon receiving a request from the second media client toterminate media reception from the source IP device, switching frommedia forking mode to direct streaming mode, by ending the media forkingservice, and operating the direct media streaming between the firstmedia client and the source IP device.

According to some embodiments of the present disclosure, for example,one of the two media clients may request to terminate media receptionfrom source IP device 210A. Accordingly, the computerized-method 300 mayswitch from media forking mode to direct streaming mode. In caseenhanced MFI, such as enhanced MFI 220A is not providing any mediaforking services to any IP source device associated to the on-premisedomain, such as premise domain 205 in FIG. 2 , MFI module 240 in FIG. 2, may deactivate the media forking infrastructure, such as enhanced MFI220A.

It should be understood with respect to any flowchart referenced hereinthat the division of the illustrated method into discrete operationsrepresented by blocks of the flowchart has been selected for convenienceand clarity only. Alternative division of the illustrated method intodiscrete operations is possible with equivalent results. Suchalternative division of the illustrated method into discrete operationsshould be understood as representing other embodiments of theillustrated method.

Similarly, it should be understood that, unless indicated otherwise, theillustrated order of execution of the operations represented by blocksof any flowchart referenced herein has been selected for convenience andclarity only. Operations of the illustrated method may be executed in analternative order, or concurrently, with equivalent results. Suchreordering of operations of the illustrated method should be understoodas representing other embodiments of the illustrated method.

Different embodiments are disclosed herein. Features of certainembodiments may be combined with features of other embodiments; thuscertain embodiments may be combinations of features of multipleembodiments. The foregoing description of the embodiments of theinvention has been presented for the purposes of illustration anddescription. It is not intended to be exhaustive or to limit theinvention to the precise form disclosed. It should be appreciated bypersons skilled in the art that many modifications, variations,substitutions, changes, and equivalents are possible in light of theabove teaching. It is, therefore, to be understood that the appendedclaims are intended to cover all such modifications and changes as fallwithin the true spirit of the invention.

While certain features of the invention have been illustrated anddescribed herein, many modifications, substitutions, changes, andequivalents will now occur to those of ordinary skill in the art. It is,therefore, to be understood that the appended claims are intended tocover all such modifications and changes as fall within the true spiritof the invention.

1. A computerized-method for providing an elastic media forkinginfrastructure to cloud distributed real-time applications, thecomputerized-method comprising: in a network that is having a directmedia streaming between a first media client and a source device, in adirect media streaming mode, upon receiving a first request from asecond media client, via a signaling protocol, to receive media from thesource device, switching from the direct media streaming mode to a mediaforking mode by starting a media forking service on a media forkinginfrastructure.
 2. The computerized-method of claim 1, wherein uponreceiving a second request from the second media client to terminatemedia reception from the source device, switching from media forkingmode to direct streaming mode, by ending the media forking service, andoperating the direct media streaming between the first media client andthe source device.
 3. The computerized-method of claim 1, wherein themedia forking service is forking media received from the source deviceand transmitting the received media to the first media client and to thesecond media client.
 4. The computerized-method of claim 1, wherein thedirect media streaming comprising having the first media client directlyreceiving media from the source device.
 5. The computerized-method ofclaim 1, wherein the request from the second media client to receivemedia from the source device is a join message of the signaling protocolto the media forking infrastructure.
 6. The computerized-method of claim1, wherein said media forking infrastructure is available to providemedia forking service when switching from the direct media streamingmode to the media forking mode.
 7. The computerized-method of claim 1,wherein the media forking infrastructure is having a capacity to providemedia forking service to a predetermined quantity of source devices andwhen the media forking infrastructure is operating in full capacity andan additional switching from the direct media streaming mode to themedia forking mode is required by an additional source device, anadditional media forking infrastructure is activated and added to thenetwork and a new media forking service is started on the additionalmedia forking infrastructure.
 8. The computerized-method of claim 6,wherein upon receiving the request from the second media client toterminate media reception from the additional source device: (i) endingthe new media forking service; (ii) operating the direct media streamingbetween the first media client and the additional source device; and(iii) deactivating the additional media forking infrastructure when nomedia forking service is provided by it.
 9. The computerized-method ofclaim 1, wherein when the media forking service is running on the mediaforking infrastructure, upon a new requirement to switch from the directmedia streaming mode to the media forking mode, checking if the mediaforking infrastructure is available to start an additional media forkingservice.
 10. The computerized-method of claim 2, wherein switchingbetween the media forking mode to the direct streaming mode and viceversa results in a media loss which does not deteriorate media quality.11. The computerized-method of claim 1, wherein the source device isassociated to an on-premise system of a cloud-based contact center, andwherein the first media client and the second media client are clouddistributed real-time applications.